package myky.com.doctorapp.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import myky.com.doctorapp.R
import myky.com.doctorapp.entity.ChooseDisesTypeEntity

class DissesTypeAdapter(chooseDisesTypeEntitys: MutableList<ChooseDisesTypeEntity.DiseaseListBean>) :BaseQuickAdapter<ChooseDisesTypeEntity.DiseaseListBean,BaseViewHolder>(R.layout.activity_new_consult_type_item,chooseDisesTypeEntitys) {


    override fun convert(helper: BaseViewHolder, item: ChooseDisesTypeEntity.DiseaseListBean) {


        helper.setText(R.id.new_consult_type_item_tv, item.diseasename)


        helper.addOnClickListener(R.id. my_list_lin1)
    }
}